import {request} from 'umi';

export function getFilter(params = {}) {
    return request('/api/crud/getFilter', {
        // @ts-ignore
        prefix: 'https://api.baijia.com/mock/2545',
        method: 'POST',
        data: {
            ...params,
        },
    });
}
